var swiperCfg = {
    autoplay:true,              //是否自动切换
    interval:4000,              //切换时间间隔
    duration:500                //滑动动画时长
}
var api = {
  host:'https://cnodejs.org/api/v1/'
}

var host = 'https://mobile.moenti.com';
var socketHost = 'wss://mobile.moenti.com';

// var host = 'http://192.168.2.232:8098';
// var socketHost = 'ws://192.168.2.232:8098';

// var host = 'http://192.168.2.161:8099';
// var socketHost = 'ws://192.168.2.161:8099';

// var host = 'http://192.168.2.160:8098';
// var socketHost = 'ws://192.168.2.160:8098';

var mwurl = {
  wxLogin: '/user/wxLogin',
  wxDecode: '/user/decode',
  goodList: '/good/list',
  createOrder: '/order/create',
  createRoom : '/room/create',
  leaveRoom: '/room/leave',
  joinRoom : '/room/join',
  startPlay : '/room/start',
  paperAnswer: '/paper/answer',
  finishAnswer: '/room/finish',
  answerPointTacit: '/paper/answerPoint',
  nextPlay: '/room/nextPlay',
  delRoom: '/room/delRoom',
  answerGroupTacit: '/paper/answerGroupTacit',
  getTop20: '/getTop20',
  getUserInfo: '/getUserInfo',
  saveUserInfo: '/saveUserInfo',
  listOrder: '/order/list',
  listAnswered: '/paper/listAnswered',
  acceptIntegral: '/acceptIntegral',
  zjzengsong: '/acceptIntegral',
  zengsong: '/giveIntegral',
  zerojifen: '/room/zeroJiFen',
  perJifenInfo: '/paper/perJifenInfo',
  moqifenInfo: '/paper/listMoqifen',
  loadGood:'/good/loadGood'
}
module.exports = {
  swiperCfg,
  api,
  host,
  mwurl,
  socketHost
}